package com.cgw.auth.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.cgw.auth.entity.AuthorizeInfo;
import com.cgw.auth.entity.params.BackAuthQuery;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author grl
 * @since 2024-04-26
 */
@Repository
public interface AuthorizeInfoMapper extends BaseMapper<AuthorizeInfo> {
    /**
     * 根据条件分页获取授权信息
     *
     * @param page
     * @param authQuery
     * @return
     */
    Page<AuthorizeInfo> getAuthList(Page page,@Param(value = "authQuery") BackAuthQuery authQuery);
}
